<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<title>Document</title>
	<script src="../bower_components/vue/dist/vue.js"></script>
</head>
<body>
	<div id="box">
		<aaa>
			<span>我是一个span标签</span>
		</aaa>
		<hr>
		<aaa></aaa>
	</div>

	<template id="aaa">
		<span>hello</span>
		<slot>这是默认情况</slot>
	</template>

	<script>
		new Vue({
			el: '#box',
			components:{
				"aaa": {
					template: "#aaa"
				}
			}
		});
	</script>
</body>
</html>